package mini.ideashare.cms.dao;

import mini.ideashare.cms.model.TB_Item;
import mini.ideashare.cms.model.qc.TB_ItemQC;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TB_ItemDAO {
    int insertTB_Item(TB_Item tB_Item);

    int updateTB_Item(TB_Item tB_Item);

    List<TB_Item> listTB_Item(TB_ItemQC tB_Item);
    Long countTB_Item(TB_ItemQC tB_Item);
    int deleteTB_ItemById(@Param("id") Long id);
}
